package org.jeecg.modules.business.takestockplan.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 盘点差异处理单
 * @Author: jeecg-boot
 * @Date:   2023-11-23
 * @Version: V1.0
 */
@ApiModel(value="wms_take_stock_plan_difference对象", description="盘点差异处理单")
@Data
@TableName("wms_take_stock_plan_difference")
public class TakeStockPlanDifference implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15)
    @ApiModelProperty(value = "单据状态")
    private String documentStatus;
	/**是否生成盘盈盘亏单*/
    @ApiModelProperty(value = "是否生成盘盈盘亏单")
    private String generateFlag;
	/**盘盈单id*/
    @ApiModelProperty(value = "盘盈单id")
    private String inventoryGainId;
	/**盘亏单id*/
    @ApiModelProperty(value = "盘亏单id")
    private String inventoryLossId;
	/**租户id*/
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
	/**逻辑删除*/
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer delFlag;
	/**盘点作业id*/
    @ApiModelProperty(value = "盘点作业id")
    private String takeStockPlanExecuteId;
    /**组织*/
    @Excel(name = "组织", width = 15)
    @ApiModelProperty(value = "组织")
    private String organization;
}
